package com.tool_stdy.thread;

import java.util.HashMap;
import java.util.Map;

/**
 * @author: cc.ly
 * @date: 2020/5/5
 */

public class ThreadLocalTest {
    public static void main(String[] args) {
        ThreadLocal<String> threadLocal = new ThreadLocal();
        ThreadLocal<String> threadLoca2 = new ThreadLocal();
        threadLoca2.set(new String("aa"));
        threadLocal.set(new String("dd"));
        //System.out.println(threadLocal);
        System.out.println(threadLoca2);
        System.out.println(threadLoca2.get());

    }
}
